package io.terminus.spzx.product.service.impl;

import io.terminus.spzx.model.entity.product.Brand;
import io.terminus.spzx.product.mapper.BrandMapper;
import io.terminus.spzx.product.service.BrandService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lichunlong lcl253137@alibaba-inc.com
 * @desc 【移动端】品牌管理Service实现类
 * @date 2024-10-30
 */
@Service
@RequiredArgsConstructor
public class BrandServiceImpl implements BrandService {

    private final BrandMapper brandMapper;

    @Override
    public List<Brand> findAll() {
        return brandMapper.findAll();
    }
}
